package com.ruiysoft.service.integral.bean;

import com.ruiysoft.pub.entity.PageCondition;
import com.ruiysoft.service.integral.consts.TradeType;
import com.ruiysoft.service.mdse.consts.MdseEnum;

import java.util.Date;

public class IntegralCondition extends PageCondition {

    private Long shopId;
    private String phone;
    private MdseEnum.IsUseEnum isUse;

    private Long integralId;

    private TradeType tradeType;

    private Date sTime;
    private Date eTime;

    private String tradeNo;

    public Date getsTime() {
        return sTime;
    }

    public IntegralCondition setsTime(Date sTime) {
        this.sTime = sTime;
        return this;
    }

    public Date geteTime() {
        return eTime;
    }

    public IntegralCondition seteTime(Date eTime) {
        this.eTime = eTime;
        return this;
    }

    public Long getIntegralId() {
        return integralId;
    }

    public IntegralCondition setIntegralId(Long integralId) {
        this.integralId = integralId;
        return this;
    }

    public TradeType getTradeType() {
        return tradeType;
    }

    public IntegralCondition setTradeType(TradeType tradeType) {
        this.tradeType = tradeType;
        return this;
    }

    public Long getShopId() {
        return shopId;
    }

    public IntegralCondition setShopId(Long shopId) {
        this.shopId = shopId;
        return this;
    }

    public String getPhone() {
        return phone;
    }

    public IntegralCondition setPhone(String phone) {
        this.phone = phone;
        return this;
    }

    public MdseEnum.IsUseEnum getIsUse() {
        return isUse;
    }

    public IntegralCondition setIsUse(MdseEnum.IsUseEnum isUse) {
        this.isUse = isUse;
        return this;
    }

    public IntegralCondition setSuperOrderByClause(String orderByClause) {
        super.setOrderByClause(orderByClause);
        return this;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public IntegralCondition setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
        return this;
    }
}
